package com.zdxk.msgPush.msg.subject.interfaces;

import com.zdxk.msgPush.msg.observer.interfaces.IObserver;

import java.util.List;

public interface ISubject {

    boolean addObserver(IObserver observer);

    IObserver removeObserver(String observerId);

    List<String> notifyAllObserver(String msg);

}
